Fixes #648 Username selection gets shrinked

This was due to an invalid URL being queried. Another issue would popup
up after that, caused by the init value being an array - this is fixed
in this commit too.