Add loginFormAction so that people can use render twig tag more easily

I split the loginAction function so that people can easily put the login form code in a modal everywhere on the website for example.

This feature came at first #703 and I hope it will be merge as I think it's a common use case.
@stof, tell me what you think and I'll add docs if you are OK with this one.