Implement stashed paramerters on failed sign in

Refactor filter_params method

Implement stashed parameters on failed sign in.

Remove unnecessary files