Fixed timing issue with account_manager_test.

Fixed timing issue (checking query parameters is time-dependent)
in account_manager unit tests (account_manager_test).