Modified it to work with play2.2 and latest securesocial.