I have put together some simple blocks to demonstrate with just a nickname and password:
Register: user enters nickname and password, these are saved to a tag using the user's nickname
Login: user enters nickname and password, the password for the user's nickname is called from firebase, and compared to the password entered
Here is what an example record looks like in Firebase