add OKComputer.authenticate(username, password) helper method
move authentication into a private controller method