Interface to deal with authentication in play applications