Fixed default credential time in credential.py to two weeks