Fix deviceWs to generate MD5 on registration

*Changed default port to 8081