authentication tests for server
added pending login test