Makes passwordregisterModifications slightly more FP

I really dislike the password mutation still going on, but atm I
don’t have much of an idea how to go around that.
Still trying to figure how if I can break up the puzzle in a more
elegant way.
Adds credits to BGNG in header