User authentication [finish #81252050 #81165912 #81165870]

Surrounding space missing for operator '=~'.