testing if credentials are stored