The ability to toggle password inputs value visibility will improve the UX of several forms. Since most of password inputs are located on sign-in and profile pages, for now it'll be enough to update inputs used on these pages only.
The button should:
1. Has opened eye icon when password value is visible.
2. Has closed eye icon when password value is hidden (i.e. default dots).
3. Be placed at the right side of the input and to the right of validation error message. That means that error message will be place a bit more to the left compared to text inputs.