Added UserAuthentication acceptance test
Fixed the abstent of Mockery::close in tearDown method of acceptance tests.